/* eslint-disable */
import Vue from 'vue'
import Router from 'vue-router'
import index from './views/index/index.vue'
import payOrder from './views/payOrder/payOrder.vue'
import readyUnlock from './views/readyUnlock/readyUnlock.vue'
import unlocking from './views/unlocking/unlocking.vue'
import userCenter from './views/userCenter/userCenter.vue'
import mobileLogin from './views/mobileLogin/mobileLogin.vue'
import bill from './views/bill/bill.vue'
import aboutAgreement from './views/aboutAgreement/index.vue'
import authentication from './views/authentication/authentication.vue'
import recharge from './views/recharge/index'
import newDiscount from "./views/newDiscount/index";
import card from "./views/card/index";
import wallent from "./views/wallent/index";
import webview from './views/webview/index'
import setting from './views/setting/index'
import trip from './views/trip/index'
import permissionList from './views/permissionList/index'
import wxWeb from './views/wxWeb/index'
// 实现Vue组件的按需加载
Vue.use(Router);
export default new Router({
    routes: [
        {
            path: "/",
            name: "index",
            redirect: '/index'
        },
        {
            path: "/index",
            name: "index",
            component: index
        },
        {
            path: "/bill",
            name: "bill",
            component: bill
        },
        {
            path: "/payOrder",
            name: "payOrder",
            component: payOrder
        },
        {
            path: "/readyUnlock",
            name: "readyUnlock",
            component: readyUnlock
        },
        {
            path: "/unlocking",
            name: "unlocking",
            component: unlocking
        },
        {
            path: "/userCenter",
            name: "userCenter",
            component: userCenter
        },
        {
            path: "/mobileLogin",
            name: " mobileLogin",
            component: mobileLogin
        },
        {
            path: "/bill",
            name: " bill",
            component: bill
        },
        {
            path: '/aboutAgreement',
            name: "aboutAgreement",
            component: aboutAgreement
        },
        {
            path: '/authentication',
            name: "authentication",
            component: authentication
        },
        {
            path: '/recharge',
            name: "recharge",
            component: recharge
        },
        {
            path: '/newDiscount',
            name: "newDiscount",
            component: newDiscount
        },
        {
            path: '/card',
            name: "card",
            component: card
        },
        {
            path: '/wallent',
            name: "wallent",
            component: wallent
        },
        {
            path: '/webview',
            name: "webview",
            component: webview
        },
        {
            path: '/setting',
            name: "setting",
            component: setting
        },
        {
            path: '/trip',
            name: "trip",
            component: trip
        },
        {
            path: '/permissionList',
            name: "permissionList",
            component: permissionList
        },
        {
            path: '/wxWeb',
            name: "wxWeb",
            component: wxWeb
        }
    ]
})
